magnetism and matter class 12